package cn.ywang.pattern.factory.abstractfactory;

import cn.ywang.pattern.factory.products.bangle.IBangle;
import cn.ywang.pattern.factory.products.bangle.PlatinumBangle;
import cn.ywang.pattern.factory.products.ring.IRing;
import cn.ywang.pattern.factory.products.ring.PlatinumRing;

/**
 * 铂金首饰工厂
 *
 * @author BeatificWang
 * @date 2019/3/10 12:33
 */
public class PlatinumFactory implements IFactory {
	@Override
	public IRing createRing() {
		return new PlatinumRing();
	}

	@Override
	public IBangle createBangle() {
		return new PlatinumBangle();
	}
}
